home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / MPW Oberon 2.1168 / OExamples / SillyBalls.make < prev    next >
Encoding:
Text File  |  1994-11-10  |  1.4 KB  |  45 lines  |  [TEXT/MPS ]

  1. #
  2. #    Macintosh Developer Technical Support
  3. #
  4. #    Simple Color QuickDraw Sample Application
  5. #
  6. #    SillyBalls
  7. #
  8. #    SillyBalls.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.1    (MPW 3.0 Final)    8/88
  14. #
  15. #    Components:    SillyBalls.p        Feb.  1, 1990
  16. #                SillyBalls.make        Feb.  1, 1990
  17. #
  18. #    This is a very simple sample program that demonstrates how to use Color 
  19. #    QuickDraw.  It is about two pages of code, and does nothing more than open
  20. #    a color window and draw randomly colored ovals in the window.
  21. #    
  22. #    The purpose is to show how to get some initial results with Color QuickDraw.
  23. #    It is a complete program and is very short to be as clear as possible.
  24. #    
  25. #    It does not have an Event Loop.  It is not fully functional in the sense that
  26. #    it does not do all the things you would expect a well behaved Macintosh 
  27. #    program to do, like size the window naturally, have an event loop, use menus, 
  28. #    etc.
  29. #
  30. #    See Sample and TESample for the general structure and MultiFinder techniques that
  31. #    we recommend that you use when building a new application.
  32. #
  33.  
  34. .mod.o ƒ .mod
  35.     Oberon {OOptions} {DepDir}{Default}.mod -o {TargDir}{Default}.mod.o
  36.  
  37. OObjs        =    SillyBalls.mod.o ∂
  38.                 "{Libraries}"Runtime.o ∂
  39.                 "{Libraries}"Interface.o ∂
  40.                 "{OLibraries}"OberonLib.o
  41.  
  42. SillyBalls    ƒ    {OObjs} SillyBalls.make
  43.                 Link -o {Targ} {OObjs}
  44.                 SetFile {Targ} -t APPL -c '????'
  45.